home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / msgs.man < prev    next >
Encoding:
Text File  |  1989-02-20  |  5.1 KB  |  195 lines

  1.  
  2.  
  3.  
  4. MSGS                      User Commands                      MSGS
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      msgs - system messages and junk mail program
  10.  
  11. SSYYNNOOPPSSIISS
  12.      mmssggss [ --ffhhllppqq ] [ number ] [ -number ]
  13.  
  14.      mmssggss --ss
  15.  
  16.      mmssggss --cc [ -days ]
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      _M_s_g_s is used to read system messages.  These messages are
  20.      sent by mailing to the login `msgs' and should be short
  21.      pieces of information which are suitable to be read once by
  22.      most users of the system.
  23.  
  24.      _M_s_g_s is normally invoked each time you login, by placing it
  25.      in the file ._l_o_g_i_n (._p_r_o_f_i_l_e if you use /_b_i_n/_s_h).  It will
  26.      then prompt you with the source and subject of each new mes-
  27.      sage.  If there is no subject line, the first few non-blank
  28.      lines of the message will be displayed.  If there is more to
  29.      the message, you will be told how long it is and asked
  30.      whether you wish to see the rest of the message.  The possi-
  31.      ble responses are:
  32.  
  33.      yy      type the rest of the message.
  34.  
  35.      RETURN synonym for y.
  36.  
  37.      nn      skip this message and go on to the next message.
  38.  
  39.      --      redisplay the last message.
  40.  
  41.      qq      drops you out of _m_s_g_s; the next time you run the pro-
  42.             gram it will pick up where you left off.
  43.  
  44.      ss      append the current message to the file ``Messages''
  45.             in the current directory; `s-' will save the previ-
  46.             ously displayed message. A `s' or `s-' may be fol-
  47.             lowed by a space and a file name to receive the mes-
  48.             sage replacing the default ``Messages''.
  49.  
  50.      mm      or `m-' causes a copy of the specified message to be
  51.             placed in a temporary mailbox and _m_a_i_l(1) to be
  52.             invoked on that mailbox.  Both `m' and `s' accept a
  53.             numeric argument in place of the `-'.
  54.  
  55.      _M_s_g_s keeps track of the next message you will see by a
  56.      number in the file ._m_s_g_s_r_c in your home directory.  In the
  57.      directory /_u_s_r/_m_s_g_s it keeps a set of files whose names are
  58.      the (sequential) numbers of the messages they represent.
  59.      The file /_u_s_r/_m_s_g_s/_b_o_u_n_d_s shows the low and high number of
  60.  
  61.  
  62.  
  63. Sprite v1.0                May 9, 1986                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MSGS                      User Commands                      MSGS
  71.  
  72.  
  73.  
  74.      the messages in the directory so that _m_s_g_s can quickly
  75.      determine if there are no messages for you.  If the contents
  76.      of _b_o_u_n_d_s is incorrect it can be fixed by removing it; _m_s_g_s
  77.      will make a new _b_o_u_n_d_s file the next time it is run.
  78.  
  79.      The --ss option is used for setting up the posting of mes-
  80.      sages.  The line
  81.  
  82.           msgs: "| /usr/ucb/msgs -s"
  83.  
  84.      should be include in /_u_s_r/_l_i_b/_a_l_i_a_s_e_s to enable posting of
  85.      messages.
  86.  
  87.      The --cc option is used for performing cleanup on /_u_s_r/_m_s_g_s.
  88.      An entry with the --cc option should be placed in
  89.      /_u_s_r/_l_i_b/_c_r_o_n_t_a_b to run every night.  This will remove all
  90.      messages over 21 days old.  A different expiration may be
  91.      specified on the command line to override the default.
  92.  
  93.      Options when reading messages include:
  94.  
  95.      --ff     which causes it not to say ``No new messages.''.
  96.             This is useful in your ._l_o_g_i_n file since this is
  97.             often the case here.
  98.  
  99.      --qq     Queries whether there are messages, printing ``There
  100.             are new messages.'' if there are.  The command ``msgs
  101.             -q'' is often used in login scripts.
  102.  
  103.      --hh     causes _m_s_g_s to print the first part of messages only.
  104.  
  105.      --ll     option causes only locally originated messages to be
  106.             reported.
  107.  
  108.      _n_u_m    A message number can be given on the command line,
  109.             causing _m_s_g_s to start at the specified message rather
  110.             than at the next message indicated by your ._m_s_g_s_r_c
  111.             file.  Thus
  112.  
  113.                 msgs -h 1
  114.  
  115.             prints the first part of all messages.
  116.  
  117.      -_n_u_m_b_e_r
  118.             will cause _m_s_g_s to start _n_u_m_b_e_r messages back from
  119.             the one indicated by your ._m_s_g_s_r_c file, useful for
  120.             reviews of recent messages.
  121.  
  122.      --pp     causes long messages to be piped through _m_o_r_e(1).
  123.  
  124.      Within _m_s_g_s you can also go to any specific message by typ-
  125.      ing its number when _m_s_g_s requests input as to what to do.
  126.  
  127.  
  128.  
  129. Sprite v1.0                May 9, 1986                          2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. MSGS                      User Commands                      MSGS
  137.  
  138.  
  139.  
  140. FFIILLEESS
  141.      /usr/msgs/*         database
  142.      ~/.msgsrc           number of next message to be presented
  143.  
  144. AAUUTTHHOORRSS
  145.      William Joy
  146.      David Wasley
  147.  
  148. SSEEEE AALLSSOO
  149.      aliases(5), crontab(5), mail(1), more(1)
  150.  
  151. BBUUGGSS
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192. Sprite P12121
  193. T630273586
  194. DdfAA790059
  195. MDeferred: connection timed out dur